/*
 * Copyright (c) 2008 Ricardo Rocha, rocha.porto@gmail.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.gliding.kumulus.client.model;

/**
 * Definition of a Member object.
 * 
 * It represents a member of the club, which has an ID, a first and last name and an email.
 * 
 * @author Ricardo Rocha <rocha.porto@gmail.com>
 * @version $Rev:: $
 */
public class Member {
	
	/**
	 * The member's ID.
	 */
	public int id;
	
	/**
	 * The member's first name.
	 */
	public String firstName;
	
	/**
	 * The member's last name.
	 */
	public String lastName;
	
	/**
	 * The member's email.
	 */
	public String email;
	
	/**
	 * Class constructor.
	 * 
	 * Initializes the member object with the given data.
	 * 
	 * @param id The ID to assign to the member object
	 * @param firstName The first name of the member
	 * @param lastName The last name of the member
	 * @param email The email of the member
	 */
	public Member(int id, String firstName, String lastName, String email) {
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
		this.email = email;
	}
}